package com.translate.commons.asynctask;

public class AsyncTaskStatus {

    /**任务状态（挂起）**/
    public static final int STATUS_PENDING = 1;
    /**任务状态（执行中）**/
    public static final int STTAUS_RUNNING = 2;
    /**任务状态（已完成，包括执行过程中存在错误）**/
    public static final int STATUS_COMPLATE = 3;

    private int status;
    private int progress;
    private Object obj;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getProgress() {
        return progress;
    }

    public void setProgress(int progress) {
        this.progress = progress;
    }

    public Object getObj() {
        return obj;
    }

    public void setObj(Object obj) {
        this.obj = obj;
    }

}
